package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @Author 小坏
 * @Date 2021/2/25 0:12
 * @Version 1.0
 * @program: 父工程 gulimall 万物起源之地
 * 查询当前登录用户的所有订单
 */

@FeignClient("gulimall-order")
public interface OrderFeignService {

    //查询当前登录用户的所有订单
    @PostMapping("/order/order/listWithItem")
    public R listWithItem(@RequestBody Map<String, Object> params) ;
}
